package com.feiwo.nonego.rpc.protocol.enums;

/**
 * RPC 调用状态
 *
 * @author feiwo 2025-08-06
 */
public enum RpcStatus {
    /**
     * 成功
     */
    SUCCESS(0),
    /**
     * 失败
     */
    FAIL(1);


    private final int code;

    RpcStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
